package cn.lystudio.rohm_time_op.service;

import cn.lystudio.rohm_time_op.entity.dto.ShiftCapacityRecord4PageDTO;
import cn.lystudio.rohm_time_op.entity.dto.ShiftCapacityRecordDTO;
import cn.lystudio.rohm_time_op.entity.po.ShiftCapacityRecordPO;
import cn.lystudio.rohm_time_op.entity.vo.ConsoleCapaChartVO;
import cn.lystudio.rohm_time_op.entity.vo.ShiftCapacityRecordVO;

import java.util.List;

public interface ShiftCapacityRecordService {
    List<ShiftCapacityRecordDTO> getAll(String machineNo,
                                        String searchStartTime,
                                        String searchEndTime,
                                        String otherKeywords);
    ShiftCapacityRecord4PageDTO getAll2(String machineNo,
                                        String searchStartTime,
                                        String searchEndTime,
                                        String otherKeywords,Integer page,Integer limit);

    int delShiftCapacityRecord(Integer shiftCapaRecordID);
    int uptShiftCapacityRecord(ShiftCapacityRecordPO shiftCapacityRecordPO);
    List<ShiftCapacityRecordDTO> getDailyData(String machineNo,String dailyStart, String dailyEnd);
    List<ShiftCapacityRecordDTO> getDailyData4Dashboard(String machineNo,String dailyStart, String dailyEnd);
    ConsoleCapaChartVO getDailyData4Chart(String machineNo, String dailyStart, String dailyEnd);
    List<ShiftCapacityRecordVO> getShiftCapaRecordTimeLine(String machineNo, String beginDate, String endDate);
    int addShiftCapacityRecord(ShiftCapacityRecordPO shiftCapacityRecordPO);
    ShiftCapacityRecordPO getShiftCapacityRecordByID(int shiftCapaRecordID);




}
